// main
package main

import (
	"gitee.com/fzwise/goblog/controller"
	"github.com/gin-gonic/gin"
)

func main() {
	gin.SetMode(gin.DebugMode)
	router := gin.Default()
	router.Static("/static", "./static")
	router.LoadHTMLGlob("view/**/*")
	router.GET("/", controller.GetIndex)
	router.Run(":81")
}
